Maze in terminal for school project