in reply to Progressive JAPH

I saw something similar, but the algorithm was different. It still earns my ++.