Making a Chess game in Ruby to understand the language