Moved Tree to custom API
Removed dependency on algs4