there they all were , grouped on the court , surrounded by high chain-link , and presided over by a lone soldier who walked up and down the length of one side , his gun in his hands but hanging loose .