added three sum solution