a simple program to calculate distance between assemblages.