Moving randomly a square on a window