Update BinarySearchTree.h

Implemented a Map that does the frequency for us.