Refectored calculator and added the c button