finished preliminary working version of tic tac toe