Input a maze, the AI solves it