Common Substring In Two Strings Python Definition Function Math