suffix tree - need to fix the leaf node number thing