adding completed problem set 3.1