Modifies ASTNode & Definition to fix AST error

Added Equals method to ASTNode
Change ASTType ERROR  to NONE