finished problem set 2