Minute Media interview question

Implement flood-fill algorithm (both recursive and iterative)