Substring method implementation
Method takes:
- word or phrase as the first argument
- dictionary - array of valid substrings as the second argument
Return: hash listing
- each substring (case insensitive) that was found in the original string
- how many times it was found