adding ioport example

adding ioport example