Implmented operator== and operator=.
Pair compares keys and values again in operator==.