Ruby Hamming tests 1-5 passing