Checkio Task "Xs and Os Referee"