Solution for Two Sum