Complex sentence: Like Rubashov, he was in solitary confinement, expected to be executed, paced his cell constantly, was permitted to walk in the courtyard in the company of other prisoners, and was not beaten himself but knew that others were beaten.
Split into simpler sentences: Like Rubashov, he was in solitary confinement and expected to be executed. He was permitted to walk in the courtyard in the company of other prisoners, and was not beaten but knew that others were beaten.