4 sum similar to 3 sum O(n^3)