Add solution for hamming_distance back into example.erl