Create a function that returns true if two strings share the same letter pattern, and false otherwise.
sameLetterPattern("ABAB", "CDCD") ➞ true
sameLetterPattern("ABCBA", "BCDCB") ➞ true
sameLetterPattern("FFGG", "CDCD") ➞ false
sameLetterPattern("FFFF", "ABCD") ➞ false
N/A