I\'m just doing a homework assignment where i have to make a simple polynomial parser generator. So it has to accept assignment like: a= 2x2+2 and also evaluation like a[2]