added addNode to BST class