Simple implementation of RC4 encryption algorithm using python