My class lecture for the famous AKS algorithm