Count Binary Substrings Hackerrank Solution Cpp