basic parser done except parsing power functions. Type error that I'm not sure how to fix at this point