this is a code for tic tac toe in python finished