it's all about exerting power over other men. the romans did the same thing for example. it's both a message to the victim, and to the other inmates, to show who is the alpha or the leading group. it's nothing new, and yeah you don't want to be on the receiving end. that's why you gotta work up a lot in prison.
France