Added example code for MyIterator