Adding round robin algorithm body and formatting code