Updated get_string() and get_number()in scanner.c