implement getSubtask() and addSubtask(Task task) method