Basic text-based game of Tic Tac Toe written in Python3