Homework 3 - Simple calculator