Unbuffered Rotation Cipher in C