Flood Fill type challenge.