updated MoreLoops.java