I/O operations

Implementations of I/O ops and debugging with a placeholder DSKY thread.