Add solutions to problems 30 and 34
utils: Fix and optimise sieve for mem, add doctests, add caching to isPrime()
Add solution to problem 35