Walking in Circles — hard Python for AI problem | Incognition