sequence of vertices: [1, 8, 5, 10, 2, 6, 7, 9, 1]