finished converting cdk simple cycle to cycle<V,E>