basic c++ cipher breaker