Added code to delete assignments pertaining to selected course