Added basic I/O (only char and int).