DataStructures homework