Code for Graph Theory homeworks. Not for commercial use.