Row Transposition Cipher In Python