[calculator] added parentheses, changed integer constants to double,
started adding functions.