Fellow inmates at HMP Wandsworth included prolific sex offenders and terrorists, he said.