added 2 states of calc

for work with long input expressions and short
derivative function can be added
some bug with brackets, i can’t catch it