Reverted MazeGeneration alogrithm to use walls and not corners