a simple prime generator in Go