CodeEval: Detecting Cycles (hare/tortoise algorithm implementation)