Hamming distance
// Hamming distance for 32-bit integers