Add the twosum c++code and python code