Completes add_course function of script.

Loops in main until all courses are successfully added.
Removes comments no longer needed