Common Substring In Two Strings Python