Added function to find the plaintext and key of a string encoded using an XOR cipher and a single character