See the description for this assignment in "State transitions, part 1." For part 2, the complete project is due.