Created an own datatype for coordinate sets that includes the list of coordinates and the type of the set. Integrated coordinate set datatype into existing datatypes