Assignment #4 for CPSC2108 [Data Structures]