add solution to class4/ex5