A simple near-duplicate-detection algorithm. Mostly an exercise in test-driven development with Scala.