Upgrade calculator: add clear, clearall, save, recall, print commands