add a solution - for negative cycle finder