Press SPACE to create a new Point. Press D when you are done. Press the Green Flag to reset.
The last Point will always connect to the first Point.