add 3 number sum to zero algorithm