Added prereqsFulfilled functions to courses2.js file.