Implemented cycle search engine.