Scala program that prints the sum of primes

This Scala program uses a purely functional technique to find the sum of
prime numbers within a given limit.