Create calculate_diversity.pl