finished 1~3 exercises in ex5
finished ex5