Simple tic tac toe game in 30 lines of python