use python to implement all kinds of data structure