added a new function to count the number of nodes in a tree, a different function to prune the tree, and fixed the function to get the features used in a tree
demo of pruning function in treepredict.py
the pruned tree based on the 2011 training set