complete ex 3
initial commit for ex4