in reply to Help thinking about an alternate algorithm
Code added to Re: Help thinking about an alternate algorithm.