add example 3 and 4 of tut03, fix bugs in example 1 and 2 of tut03