Implemented character transposing/printing procedure