An implementation of the AKS algorithm in Go.