Tic_Tac_Toe game implemented in python