Added ex4.
Added ex5.