This issue involves splitting the canvas into a grid.
determine an appropriate size for the canvas and the number of cells.
Implement canvas painting methods that can take in a click position and determine the position in the grid that needs to be filled with the currently selected color.