Memory functionality

memory functions deal with multiple states of the calculator
Cleaned up code
Commented
known bugs:
- Buttons are sometimes non responsive
- lower multiplication (1*1 & 1*2) do not work.