update problems 1 and 3 and start problem 2