Implemented edit distance between 2 strings with 4 allowed operations: delete, insert, replace, swap