Restricted input to numbers 1-9