The (hopefully) final version of Yuggoth, in Scala.