Solving the Two Sum Problem