The warden is charged with the duty of treating the inmates with humanity and kindness and protecting them from harsh and cruel treatment and overwork.