Tic Tac Toe game in ruby