Ptrees now work and are no longer really a WIP.

More utility functions must be added for postprocessing, though.  The problem was that the function `appendPtree()` did not update the parent pointers of its grandchildren if `realloc()` moved its children pointer.