Hackbright Day 2, exercise 3 (calculator program)