TreeLength function

Calculate the parsimony score of a tree given a dataset