data struct homework