Add implementations from cl2000 for now
Enable testing

In order to test the functions implemented here,
it is necessary to provide library functions for all
the others. So I introduced #define testing true in
order to facilitate that.