Added code for second Jan 25 blog post.