Updated getCourses.py to respect PEP8 and be more pythonic

I've updated getCourses.py and re-generated the courses.txt list. The script runs a tad faster and is now quieter by default.