I\'m implementing my own std::map, using a basic binary search tree.
The erase method is supposed to
invalidate the iterators referring to element rem