Exercise 2 for Hackbright calculator thing