My excercises concerning concurrency in Java