Create iolib_04_18

basically finish the code of library without testing.