Add algorithm for tree pursuit (greedy). Not fully tested due to the lack of NP1 matrix.