working on implementing BST and Map