exercise 21.2 (vois=d draw swirl and rectangle moving the cursor)