Added examples for Io

Added the examples from book as well as a few of the exercises