Per the instructions, polygons should be initialized with a list of side lengths.