Update scanner.c

complete the is_reserved_word function