Added properly working CBC mode implementation to AES.