Spin oscillation of a quantum dot embedded in a ferromagnetic ring with two interacting electrons