RC4 Encryption in C. Incomplete