added some short circuits to DamerauLevenshteinAlgorithm.execute()

I added these short circuits to improve the performance and prevent a StringIndexOutOfBoundsException