Update hamming.rb