Add initializeTiles function.
Add canvas theCanvas.