Two strings s and t are isomorphic if every character in s can be replaced consistently to get t (no two chars map to the same char).
Example 1:
Input: egg
add
Output: trueExample 2:
Input: foo
bar
Output: falseInput format: Line 1 = s, line 2 = t.