ShTreeAccessPolicy implemented with tests passing. Changes the ID for leaf nodes and corrected tests to reflect this. testtree and testShTree pass.