adding exists functions to Courses and Degrees
Tests added for Courses and Degrees