Door bug and builder pattern

Fixed a bug we had with the doors and implemented a builder to produce
the maze.