Space to flag squares, otherwise its the same as the original
It may be a bit slow, but it shouldn't matter