Design of Circular Trajectory Forming Algorithm for a Manipulator