Attempting to change addStudentToCourse
Started refactoring
Added tests.