Adding 3Sum solution