A basic example implementation of tic tac toe