Initial version of test program for ChaCha. Needs to be debugged.