Simply 4 operation calculator with saving result

Simply 4 operation calculator which saves the result of previus
operation and use it as a first operand in next operation
PINS 2-5 - digital OUTPUTS
PINS 7-13 - digital INPUTS
PIN 13 - is only for debug perpose to show that any key is pressed