Changed parse_expression()
Fixed some memory leaks