added the LevenNumber function