Implemented painting data structures
Implemented painting algorithms