I\'m currently trying to solve the tideman problem in CS50 and everything seems working fine except the lock pair function. I have tried it with the eymaples on the website and