Added the hamming distance algorithm

Goes through the K-cluster algorithm for hamming distance for max
hamming distance 2, reporting the number of clusters.  Works but is
very very slow.
performance enhnacements