BST traversal and some other functions realted to BST