find three elements in an array which sum to zero