https://9dok.net/document/qmje8nr8-scala-am-beispiel-gcd-scala.html