ex5 done

Signed-off-by: David JY Lu <davidlue7@gmail.com>