Arrays seem to be working.
Fixed some problems with the parser.

It was not building declaration AST nodes in functions.