Calculator with basic functionalities