public String checkName2(ArrayList<Customer> c)
	{
		boolean taken = true;
		Boolean secondTest = null;
		String finalAnswer = null;
		String proposedFirst = null;
		String proposedLast = null;
		
		while (taken)
		{
			boolean notFound = true;
			System.out.println("Please enter the first name of the customer that you would like to add.");
			proposedFirst = input.next();
			proposedFirst = proposedFirst.toLowerCase().trim();
			System.out.println("Please enter the last name of the customer that you would like to add.");
			proposedLast = input.next();
			proposedLast = proposedLast.toLowerCase().trim();
			String proposedName = proposedFirst+proposedLast;
			int counter =0;
			while (notFound && counter<c.size())
			{
				Customer currentCust = c.get(counter);
				counter++;
				String custFirst = currentCust.getFirst().toLowerCase().trim();
				String custLast = currentCust.getLast().toLowerCase().trim();
				String custName = custFirst+custLast;
				if (proposedName.equals(custName))
				{
					notFound = false;
					System.out.println("That customer already exists. Would you like to make a sale to this existing customer?");
					String answer = input.next();
					if(answer.equalsIgnoreCase("yes"))
					{
						taken = false;
						finalAnswer = "0" + proposedFirst +" "+proposedLast;
					}	
				//when you type random keys here it acts as if you said "no". It needs a "no" option specified and
					//something to correct incorrect responses
				}
			}
			if (notFound)
			{
				taken = false;
				secondTest = true;
			}
				
		}
		if (secondTest != null)
			finalAnswer = "1"+ proposedFirst +" "+proposedLast;
		return finalAnswer;
	}