Longest Run of Heads — medium Python for AI problem | Incognition