created loops.java