Assignment 3: Calculator Solution