Correct the `find_cycles` function to use 1-based indexing instead of 0-based indexing. So instead of taking a 0-based input list like [4, 1, 0, 2, 3], it would take a 1-based list like [5, 2, 1, 3, 4].