Tictactoe game in ruby (computer vs player)