separate network from graph class
add ford-fulkerson method