use a Hash Set to filter and get unique triplets whose sum is zero