Completed exercise 3 and exercise 12