Problem 77 - Prime summations, by memoization

 - Use code from problem 76 modified to work with primes
 - Searched online for relevant theory for prime sums without luck - hopefully the forum will have something.