Finished problem 1.3