Create TimeoutLoop.java

Default and basic implementation of a loop