added check_subrange function
added check_function_type
added check_array function
added build_var_id_list function
added build_param_list
added functions in tree