change tree
write tree method
Merge pull request #5 from RITE-VAL/mai-om

Tree method