Add _PRINT_ to engine

For timing without I/O just undefine _PRINT_ in engine.c