private ArrayList <Year> createYears (int y,int n)
	{
		myYears = new ArrayList <Year> ();//years in the calendar program
		Year FirstYear = new Year (y,n);//first year
		myYears.add(FirstYear);//add the first year to the list
	
		for (int i = 2;i<=10;i++)//10 years of data
		{
			Year previous = myYears.get(i-2);
			int lastDay = previous.getLastDayOfYear();
			int firstDayOfYear = CalendarFunctions.nextDay(lastDay);//the first day of the new year is one day after the last day of the old year :P
			Year next = new Year(i-1+y, firstDayOfYear);
			myYears.add(next);
			
		}
			
		return myYears;
		
	}