public void run()
  {
    if (DEBUG) log("Now running SubTaskAddition command");
    if (taskViewToUpdate != null)
    {
      if (DEBUG) log("Get existing subTasks from TaskCommander");
      ArrayList<SubTask> subTasks = TaskCommander.getSubTasks();
      if (DEBUG) log("Add the subTask contained in this command to the existing subTasks list");
      subTasks.add(subTask);
      if (DEBUG) log("Add the task to the taskViewToUpdate");
      taskViewToUpdate.addSubTask(subTask);
    }
    else
    {
      if (DEBUG) log("taskViewToUpdate is null, therefore the run command does nothing.");
    }
  }