concurrency/exercises 21-22