Create Handler.java

Iterator pattern