Bug fix for ThreeSum n(o^2) solution