Square Flood Fill problem