Simply run it with python3 rc4.py to see a test run. This algorithm was written for taking hexadecimal byte values that would be coming from a server, not strings.