Wrote main alg for the hamming-distances max-k clustering problem