Minor optimization by passing width and height to generate-maze.