Exact Solution of An Exclusion Model in the Presence of A Moving Impurity on A Ring