Count Binary Substrings Leetcode Javascript Practice Exercises