Added solution to the cycle detection problem using groovy
Added solution to the cycle detection problem using groovy

ncoe/rosetta,ncoe/rosetta,ncoe/rosetta,ncoe/rosetta,ncoe/rosetta,ncoe/rosetta,ncoe/rosetta,ncoe/rosetta,ncoe/rosetta,ncoe/rosetta