Android Unlock Patterns Leetcode Solutions Java