An implementation of Dominion in Scala.