fixed get_word and is_reserved word, both done now