concurrency: add scala example