wrote code and test case to convert number into words that works for any numbers