Java utility class that writes numbers into words