Added scanNums and scanString. Also modded a few compiler errors.