Simple C++ Console Arithmetical Parser