Count Binary Substrings Hackerrank Solutions