find-strings problem https://www.hackerrank.com/challenges/find-strings