Adding code so that when all children todos are marked done, the parent is marked done as well.