solved 4_1 exercise
solved 4_2