BugFix. Implemented floodFill (contains conceptual bug).