A maze solving program written in python for a class of mine