moved test function for trees to tree utilities module
moved insertion sort and test to sort utilities module
moved gini impurity measure to module to hold impurity measures