DoubleMetaphone function

'Double Metaphone' phonetic algorithm