calculator is now initialized with a memory value of 0