Data Structures Assignment #3 (C++)