function strend(s,t) returns 1 if the string t occurs at the end of the strong s, and zero otherwise.