Create combinations C++