finish simple FloodFill Algorithm