completed tic tac toe state and expansion, added tests