pub fn hamming_distance(source: u64, target: u64) -> u32
Calculate Hamming distance to two unsigned intergers.