Test if a string ends with the characters of another string.
Comparing strategies of handling dead ends with PageRank algorithm for link analysis.