Step 2 of String Calculator kata