Updating Bag class to use internal resources

Bag does not need a num_items field, std::vector has the size function
which does the same thing.