Made small tweaks to coursegraph.py