WIP for the algorithm not to pass on previously used node
functionning edmunds_karp still need some testing for already used nodes still need some memory protection