checkers game in Ruby