Added code to give courses take by student,  professors and some misc
functions.

Added functionality to check if a student can register for a particular
course.

Some waitlist related functions