Removed redundant instruction in the unionSuccessors() function in task 3.