first attempt at single thread AES