solved [two sum]