Common algorithms and data structures implemented with python