Spelling fixes and update to ASTNode class.

ASTNodes now initialize children or value members with empty arrays
if they are of an array type.