Added canvas and created functions that take map string and place rectangles on the canvas according to map string