added month2num function. Converts a 3-letter month string (e.g. jan) to a 2-element string number (e.g. 01).