started work on the tree and node classes