Added ability to delete a course by index number.