Pencil Movement Algorithm Computer Graphics