add code to support flood-fill algorithm
update setMask() method for flood-fill algrithom
implement the flood-fill algorithm
add method to call flood-fill algorithm