Solved square root convergence. Trying to do XOR decryptor