hamming on ruby iteration 4