chore(levenshtein): reformat code
refactor(lib): seperate functions into individual files