Added triangle generator and graph utilities.