Data Structure Code Python Example