added counting subsets
finished distance matrix
what up