Finished C++ day 1