Added C++ Problem 1