added stuff from python algorithms books