*added function to delete courses