added super source and super sink to graph. cleaned up file I/O to allow input into networkx ford-fulkerson method.