Navigating a Maze with Machine Learning