Color interview question

Implement a "MS Paint"-like interface that supports "draw_pixel", "undo", and "redo" operations