Map ADT implemented with AVL tree, still some bugs