finished problem set 3