Added list related functionality to calculator.