Perfect Maze Generator Class