public class VillagerDemo {
	public static void main(String[] args) {

		for (int j = 0; j < 1200; j++) {
			for (int i = 0; i < Villager.villagers.size(); i++) {
				Villager.villagers.get(i).age();
			}

			Villager.findMarriages();
			if (j < 60) {
				new Villager(null, null);
			}
			if (j % 4 == 0) {
				Villager.year++;
			}
		}
		System.out.println(Villager.numBabies + " = babies born");
		System.out.println("Family tree of last villager born:");
		Villager.familyTree(Villager.villagers.get(Villager.villagers.size() - 1));
	}
}