Fix bugs

Bugs:
- Add array rule in FortranBasic grammar.
- Use array rule in assignment rule.
- Reset @new_types when calling TemplateProcessor.process_code at level 0.
- Skip the statements outside procedures.