Assignment 1 prob 5