"Added first half of solution for ex4_2"