A maze solver in Factor