Implementing levenshtein for RefScape

From Audrey Baneyx