added javadoc to flooFill method