Utilities for Graph Generation for the 14.15 Final Project