began to improve algorithm to do a reverse comparision (to handle remaining elements with no solution)
improved algo.. first revision.