Added lesson 5 code examples

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