backgammon in ruby