foursum is ok,with o(n*n*n)