small tic_tac_toe in python for learning purposes