Controlling the path of 4 Dof Robot