Finally got my round robin algorithm to work!