Added a loop at the end of encrypt that changes the values of the original plaintext (the unsigned char * argument) to the current ciphertext, allowing for multiple encryptions.