Completed exercise 12 and 13.