MOO Interview Question

Write a flood fill algorithm on a whiteboard.