Exact classical solution to the Yang-Mills equations with an external source