Create Exercise 3 Sample Code