Added parentpointer in ASTNode to make traversing easier