Added edge() function for new interface of CSR graph, enabling it to work with the Kolmogorov max-flow algorithm