a tic tac toe game written in ruby