Text this: Design of a simulation for trellis coded modulation