more character IO functions
add printf-like functions
fix xprintf signature
implement printfs
flush out the buffer when fclose is invoked
auto close unclosed files at exit
add test file
add Makefile