New Ruby Hamming Solution.