Session 6 in-class code (Collections)