Contains Data Structure implementation