Bug fixing

Finished bug fixing concerning multidimensional array serialization and
deserialization.

Modified main client file to let the user initialize its own data types.
Primitive types are initialized automaticlaly, and user defined ones are
now initialized using default constructur.