Implemented rotation function S
Implemented cipher function F
Implemented encrypt function, changed return types of encrypt and decrypt functions