Add IO library; add example utilizing IO and arrays