Data structures in python