Problem 7

Two attempts at problem 7 which are both very slow.