A simple morse encoder/decoder for text based input