Lab 2 for C++