xox game with python