Create Loop.java

This is a loop that runs every x milliseconds