python3 maze.pyo < maze.testmaze.py and any other modules as needed.This is an individual homework. While you may discuss the ideas and algorithms of this homework with others, at no time should you read, possess, or submit the solution source code of any other person (including people outside this course), or allow anyone else to read or possess your source code. We will detect plagiarism using automated tools and will prosecute all violations to the fullest extent of the university regulations, including failing this course, academic probation, and expulsion from the university.
[[x, y], o]
Go forward until you either:
Reach an exit
Have a wall to the right side
Have a wall in front of you
In this case turn left once
Follow Wall
Do until you reach an exit:
If no wall on your right:
Turn right
Step forward
Else if wall in front of you:
Turn left
Else:
Go forward
Your program must not exit with a non-zero status. This means that if your program calls exit(), the argument must be zero.