iOS calculator from Stanford CS193P