added code for problem statement: 

Given an integer N, find the sum of all primes < N