Goal-setting closed achievement gaps in a recent experiment. The key element? Students put their thoughts in writing.