Sieve of Eratosthenes in Scala written with TDD