Step 1-5 of StringCalculator Kata in C++