Make 'Select' and 'each' the constructor and destructor for ListT