Implementation of the Contact Manager classes given in Assignment 3.