add Solution 1-8 in Python
add Solution 1-3 in C++