Simple Java RC4 encription algorithm implementation