Summation of primes below 2000000 in scala - Not Completed