Added clean_up function to remove unused ddg nodes after change propagation.