This is a polygon drawing function to show how to do polygon drawing with pen.
Credit to @Ayarkay for his quadrilateral drawing function. (https://scratch.mit.edu/projects/169933935/)