Added node splicing, basic tree traversal, bug fixes