initial answer to binary in Ruby