Added some test code for zz0 and fixed some bugs. Added simple zz.h skeleton.