Wrote scoreWords().