Program to print the numbers 1 to 1000000 in words