added word_to_number library function