After nearly giving up playwriting altogether, Martyna Majok went on to win a Pulitzer for Cost of Living. She tells Nicole Serratore