An AI agent that can solve the Air Berlin circular puzzle