Simple Maze Solving Algorithm Python Course W3schools