Writing Evil

Here is my problem with a lot of fiction stories: the main character is flawless. And I do mean flawless. And the antagonist is just one big walking flaw of evil glop. They are almost always some goody-goody-letter-of-the-law-absolutely-beautiful people who can never...