rewrote Perl version, added string_to_morse, morse_to_string