started work on number input, and fixed ast.Input bugs