Added examples and updated lesson 4 handout

Signed-off-by: Thomas Seng Hin Mak <makzan@gmail.com>