Added helper function to determine equivalence of two graphs.
Added constants for file names.