Examples of various approaches to concurrency in Scala