completely implemented the syntax-tree
updated unit-test script