Added the main logic to split numbers and make words