finished documentation. corrected a few bugs in the management of randomness in ShTree.cpp. Added a small test to treetree.cpp.