Updated the inputOutput example to change name and add comments.