Implemented levenshtein distance, which calculates how many steps it takes to edit one string to another