Add restrictions on entering and leaving a course

a student can now only leave or enter a course if she is or is not already in the course
Delete comments
Allow user input in console