Added an algorithms directory and the edit distance function.