all through the term his offences had accumulated , earning themselves on the way a whole series of petty punishments , which had cl**axed last week in his being beaten by stafford in the house library .