Data structures implemetation with Py