Ruby code test: print one to one million in words