adding changes to the scheduler to start threads every cycle
added new coordinates for objects
improved the animation and make it cyclic