gp.lineTo(boxes[1].x, boxes[1].y);
gp.lineTo(boxes[2].x, boxes[2].y);
gp.lineTo(boxes[3].x, boxes[3].y);
gp.closePath();
shape.append(gp, false);
gp.reset();
}
gp.moveTo(boxes[4].x, boxes[4].y);
gp.lineTo(boxes[5].x, boxes[5].y);
gp.lineTo(boxes[6].x, boxes[6].y);
gp.lineTo(boxes[7].x, boxes[7].y);