private void printData(){
		
		// Add all ages to List.
		ArrayList<Integer> ages = new ArrayList<Integer>(myPers.size());
		
		for(Person pers : myPers) {
			ages.add(pers.getAge());
		}
		
		// Calculate average age
		int ageSum = 0;
		int ageAverage;
		
		for(int i = 0; i < myPers.size(); i++) {
			ageSum += ages.get(i);
		}
		ageAverage = ageSum / myPers.size();
		System.out.println("Average age is " + ageAverage);
		
		// Print yongest
		int ageMin;
		ageMin = Collections.min(ages);
				
		int freq;
		freq = Collections.frequency(ages, ageMin);
		
		if(freq == 1)
			System.out.print("The yongest person is ");
		else
			System.out.println("The yongest persons are:");
		
		for(Person pers : myPers) {
			if(pers.getAge() == ageMin)
				System.out.println(pers);
		}
		
		// Print oldest
		int ageMax;
		ageMax = Collections.max(ages);
		freq = Collections.frequency(ages, ageMax);
				
		if(freq == 1)
			System.out.print("The oldest person is ");
		else
			System.out.println("The oldest persons are:");
		for(Person pers : myPers) {
			if(pers.getAge() == ageMax)
				System.out.println(pers);
		}
	}