long time ago. They asked me to find out the errors in this algorithm. When I read the posts under, I think it was a good question to share here.