Finished Exercise 1 for Concurrency