find and breaks cycles only on cyclic graph!