This function takes in two strings and returns the number of edit operations that need to be performed on the first string in order to obtain the second string.
There are three edit operations: insertion of a character, deletion of a character, and substitution of a character for another