added completed functions

get_word and is_reserved_word should now be completed.