numberToWord function working for 1 through 999