My code for a calculator