added Deleting a course function