Create Loop.java

Class represents an object that can perform different types of complex loops.