Count Binary Substrings Hackerrank Solution Python Ide