Implemented basic calculator