Tic Tac Toe in ruby