A guided tour to approximate string matching
Introduction to Algorithms