Update MaxFlowTest.java

Added a test which doesn't start at 0 and end at the last possible spot. Also added a test which is cyclic which may cause depth first search to go into an infinite loop.