chess in ruby, not completed