changes to string library
changed io funcs to xwritex and made a test file