Modified version of the soundex algorithm