If you plan to send one (or both) of the boys to prison in one of your stories, better read up on the Auburn system.
It evolved as a reform of the prison system and its supporters believed that inmates should be rehabilitated instead of just punished and contained. Sound good? Not really, because they believed the prisoners needed to reflect on their crimes before they could see the wrong of their ways and reform. In order to achieve this reflection, a rule of silence was imposed. Prisoners were only allowed to speak when asked to by guards,... Other goals were teaching the prisoners discipline and respect for work, property, and other people.
The means to achieve this were, apart from the silence rule, solitary confinement during the night, having the prisoners put to work (10 hours/6 days a week), and giving them nothing but a bible to read.
Some prisons, like the one in Laramie, also put great value on Sunday sermons and in the 1890s lectures. After reading up on some other prisons, Laramie appears fairly enlightened.
Other inventions of the Auburn system were the striped prison uniforms and having prisoners march in lockstep (prisoners had to form a line, locking arms with the prisoner in front, all heads looking to one side, then they marched in unison). When being led to work assignments, this is how prisoners had to move.
The assignment of work soon let to the leasing of prisoners to outside contractors (e.g. for railroads, building roads, working quarries - many prisoners were used to build their own prisons,...), who were delighted to have a work force which had even less rights than slaves and could be punished without regards - if they were severely injured or died, they were easily replaced without any cost to the contractor. The benefits for the prison consisted of the monetary gain. Some prisons became not only self-sufficient, but made a profit. If a warden was so inclined he could make a profit for himself.
When it came to punishing infractions, the wardens and guards became inventive. If you cannot stand cruelty, don't read the following part. Not all of the punishments listed were in use all the time everywhere, but many were common and often used. The yearly number of punishments in a prison could be twice the number of inmates.
Punishments included lashing (numbers varied greatly: from "no more than 6" to "over 100" lashes), dark cells (small cells equipped only with a slop bucket; the prisoner was left in the cold and complete darkness for days), paddling, shower baths (naked, tied up prisoners had a contraption fixed around their head, which collected water and allowed it to rise to a level over the mouth; the water could be extremely cold and was sometimes dripped on the prisoners head), yoke (a heavy iron bar was tied to the prisoners outstretched arms, forcing him to bear the weight across his neck), bucking (sitting on the floor, legs drawn close to the body, the hands were tied and the placed over the knees (as if hugging the knees), then a pole was inserted between knees and arms and lifted to rest high enough to let the prisoner hang down from it; the prisoner had the choice between letting blood rush to his head or straining his neck muscles trying to lift his head), getting hung by the thumbs.
Apart from these severe punishments, guards could also beat prisoners with basically anything at hand if they misbehaved.
"I can resist everything - except temptation" Oscar Wilde
For me temptation is Hannibal Heyes, especially in chaps!