Edgar Wright talks about the fun in writing a flawed character.