Some basic libc functionality. TODO: newlines don't work right yet. some bugs with printf