Count Binary Substrings Leetcode Solution In C