Implementing Map and Pair util classes, adding problems 10-12.