AI for the Code Rally competition