Convert number words to integer | Bank of America Coding Question