Fixed the transposition method and threw an nosimilarwordsfoundexception when passing in an empty string to suggestSimilarWords