code for the book Java 7 concurrency cookbook from [PACKT]