minor changes
CTR mode
test program