Implemented course deletion