Added HW2 Problem2