Improved graph.py and HW2.py
Previously, if 'in' appears on file path, it would screw up output file
generation.
graph.py is improved to use networkx package and to compare SCC result
with it.
terminalcolors.py does not belong here