Calculator to parse expression and solve