Implementation of the most common data structures in python