class assignment for "Data Structure and Algorithms"