Add ciphertext array

* add functions and signatures
* change she_xor to use the new structure
Add test for free_ciphertext_array
Refactor ciphertext array functions

to comply with the current naming scheme