Finished problem 3
Homework 5