finished problems set 1 and 2