ex4 done

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