CS193P Calculator Assignment Code