Solved ruby/hamming