added solution to a string problem where we need to check whether two strings are isomorphic