simple tic tac toe in ruby