Update ModelView.java

Update modelview to use iterators.