Exercise 3 - Branching