Solved this one. Answers match. It was a pain debugging it - made lots
of unforced errors. Must not copy and paste for loops.