Added code samples to blog post