Distortion Tolerant Source Code Using Viterbi Algorithm