This is a maze class which could generate a maze.