Simple Python server for tick-tac-toe game(PVT course)