Lightweight Morse Code Conversion in C++