Maze Runner Program In Python