Designing Effective Writing Assignments and Assignment Sequences