Added basic calculator functionality.