Adding maxflow to notebook