public void menu(int a){
		switch (a){
		case 0 :
			System.out.println("\nGOOD BYE!");
			break;
		case 1:
			addContactToPhonebook();
			break;
		case 2:
			searchByName();
			break;
		case 3:
			contactList();
			break;
		case 4:
			addCompanyToPhonebook();
			break;
		case 5:
			searchByEmail();
			break;
		case 6:
			generateXML();
			break;
		case 7:
			doOutput();
			break;
		default:
			System.out.println("INVALID VALUE");
			break;
		}
	}