Assignment for Data Structures class.