Code fragments to help a middle-school DI team