practicing flood fill topcoder problems