struct.create function

Struct creating from contours list