Added implementation for generating telephone words for a given number.