add hash edition of 3sum