add ThreeSum.java class