Count Binary Substrings Hackerrank Solution For C