Implement data strcutures in Pythong