public void printOut() { // just a console printout for debugging
        System.out.println("Task Name: " + taskName);
        System.out.println("Duration(ms): " + calculateDuration());
        if (taskParent != null) {
            System.out.println("Parent: " + taskParent.getName());
        } else {
            System.out.println("No Parent");
        }
        System.out.println("Depedent Nodes:");
        if (dependentNodes.isEmpty()) {
            System.out.println(" None");
        } else {
            for (Task currentTask : dependentNodes) {
                System.out.println(" " + currentTask.getName());
            }
        }
        System.out.println("Children:");
        if (children.isEmpty()) {
            System.out.println(" None");
        } else {
            for (Task currentTask : children) {
                System.out.println(" " + currentTask.getName());
            }
        }
    }