problem set 1 programs