Setting up solution for the 2Sum problem