Solution to problem 3
Solution to problem 27
Strict fold, solves memory issues