added a shift algorithm; encryption and decryption works