takes a number and writes it in words