A Python tic tac toe simulation