add HammingDistanceProblem.java class