sol for threesum
sol of q015