Changed maze.rb