yeah, done it.
Almost got full marks for it - except that it said the highest prime factor of a prime number (say, 37), was 1, not 37. So I fixed that, and its' in and ready for the next checkpoint.
Just break it up into little chunks, the first two sections are pretty easy, the third is a...