Scala implementation of Occam for the JVM