I\'ve been trying to solve an issue I have with the lock_pairs function. I used recursion to validate if we have a path that follows a cycle (basically, follow the losers pa