int main(){ // PH
// Tests classes Record and Contacts
   int status=0;

   cout << "Testing classes Record and Contacts \n\n";
   Contacts list; //constructs Contacts list object including memory allocation
   
   status = list.readContacts();
   cout << "\nStatus from list.readContacts is: " << status << " Expecting 97.\n";
   
   status = list.enterNew();
   cout << "\nStatus from list.enterNew is: " << status << " Expecting 95.\n";

   status = list.findRecord(0,"Paul");
   cout << "\nStatus from list.findRecord is: " << status << " Expecting 94.\n";

   status = list.printFind("Paul");
   cout << "\nStatus from list.printFind is: " << status << " Expecting 92.\n";

   list.swapRecords(0,1);
   list.printContacts();

   status = list.closeContacts();
   cout << "\nStatus from list.closeContacts is: " << status << " Expecting 96.\n";

	return 0;
}