Adding the sbox.
Adding rotate function.