Implement SuchLinkedTree.subset_write(), which should write a tree and a link table for the current subset.