An advanced algorithm package for python