Added all code for the second blog post

Signed-off-by: Bert Hajee <hajee@moretIA.com>