Added the code example to Git

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