Finished levenstein distance, added ngram distance.