Add margin to canvas. Implement toGraph method for Maze.