fixed bug in RC4 implementation
added test suite