Create Iterator.java

Iterator pattern