Two Sum O N^2 solution