Checkers game in ruby