leetcode 752. open the lock