Count Binary Substrings Hackerrank Sql Practice Test