add O(n2) algorithm for 3sum. the old one is O(n2*lgn)