ex6 done

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