What’s the trick to writing a great female character? Make her human.