Covert ASTs of arrays to AST of AST.

Closes #47.