MOO interview question

Write a flood fill algorithm on a whiteboard.