Implementation of the teleporting tortoise cycle detection algorithm