PPT Slide
0. Obtain the initial position (X,Y)
1. Read current position (A,B)
2. Draw horizontal line from
(X,Y) to (A,Y) and store it
3. Draw vertical line from
(A,Y) to (A,B) and store it
4. Draw horizontal line from
(A,B) to (X,B) and store it
5. Draw vertical line from
(X,B) to (X,Y) and store it