A-staralgorithm-with-python