various python algorithms