updated stack

added linked stack, implemented simple calculator.