Added the code I wrote for input and output to io.c.