added simple tree files

treetest.cpp and tree.h