Sample code related to the blog post at http://mighty-byte.net/2014/09/a-concurrency-exercise/