[GROUP10][RIOCUARTO5] corrected the end_round function