Return to goal state floodfill implemented