Counter mode (CTR).

Added counter mode encryption and decryption.