public void assignTables( ) {
		int i = 0;
		if (this.calculateReputation().equals(ReputationLevel.LOW)) {
			i = 2;
		}
		if (this.calculateReputation().equals(ReputationLevel.MEDIUM)) {
			i = 5;
		} else {
			i = 9;
		}
		ArrayList<Table> tablesforDay = new ArrayList<Table>();
		for (int k = 0; k < i; k++) {
			tablesforDay.add(new Table(k));
		}
		ArrayList<Waiter> waiters = getWaiters();
		Collections.sort(waiters);
		for (int j = 0; j < i; j++) {
			if (j < 3) {
				waiters.get(0).getTables().add(tablesforDay.get(j));
			} else if (j < 6) {
				waiters.get(1).getTables().add(tablesforDay.get(j));
			} else
				waiters.get(2).getTables().add(tablesforDay.get(j));
		}
		this.tables = tablesforDay;
		System.out.println(i + " tables assigned to waitresses!");
	}