adding cpp file
create calc