public synchronized void list() {
		System.out.println("Current job: ");
		System.out.println("Map tasks");
		if (mapTasks.size() > 0) {
			for (Task task : mapTasks) {
				System.out.println(task.getTaskID());
			}
		} else {
			System.out.println("empty");
		}
		System.out.println("Reduce tasks");
		if (reduceTasks.size() > 0) {
			for (Task task : reduceTasks) {
				System.out.println(task.getTaskID());
			}
		} else {
			System.out.println("empty");
		}

	}