modified code to optimize the timer that tracks the round duration
wrote part of for loop to delcare the array filled with players