Count Binary Substrings Leetcode Solution