Alex Garland reveals how Civil War is partly autobiographical