Remove unusded node NameList
Fix undeclared variable check for array variables
Add new_Var_Array Decl* parameter
Remove print_NameList (unused)