Bug fixing - no leading Small number bug

Original text2num had init issue for g - 
For text2num("hundred"), text2num("thousand") and text2num("thousand hundred") returns 0 instead of 100, 1000, 1100 respectively.

This results from incorrect initialization of g when there was no leading number (example - "two thousand").