Alexander Lewis-Ranwell killed the men after spending three spells in custody over a 72-hour period.