add function for generating list of primes
solve problem 50
solve problem 92 w/o optimization
tweak problem 92 a little more