To understand 'Understanding Computation', write samples with Scala.