Homework3 - calculator