private static int findFirstEmptyTable(int tNum) {
		int i = (tNum + 1) % 27;
		while (i != tNum) {
			if (!((Table) DiningRoom.elementAt(i)).filled())
				return i;
			else
				i = (i + 1) % 27;
		}
		return -9;
	}