added blog post, updated code, and added ref to pretty-code