Add stdio.c

Add rudimentary stdio implementation