Fixed course registration bugs.
Added the course registration function for a student.
Updated README.md.