Define general methods for debugging and testing
- Now: just a test function for the workspace, activated if the (local) variable DEBUG is set to 1, and printing errors in case of problems
- In a near future: many classes with all their tests, can’t continue with this