Writer captures Pakistani history in a novel