search for suffix-prefix match in suffix trees seems to be working