create hieracy of algorithms
implement Levenshtein distance with Space:O(min(m,n))