Floyd's cycle detection algorithm | Find the Duplicate Number