Solitaire game in C++ for class assignment