Edmonds algorithm added