getting MorseCoder class to compile, still segfoulting