There were sticks on the walls that were used to beat people. 
Windows in the colonnade on the left give a glimpse of their tiny rooms; sticks hanging on the walls were used to beat miscreants on the soles of their feet, a mandatory punishment for all novices.