polygon: n length: sidelength "Draw polygons of n sides with each of length sidelength" n timesRepeat: [ self go: sidelength. self turnLeft: 360/n. ]
pyramid 5 timesRepeat: [ self north. self go: 20. self east. self go: 20 ]. 5 timesRepeat: [ self go: 20. self south. self go: 20. self east. ]. self west. self go: 200.
pyramid: n length: sidelength . . .