Data Structure Questions using CPP