#include "Bridges.h"
#include "SLelement.h"
#include <string>
using namespace bridges;
using namespace std;
int main (int argc, char **argv) {
Bridges bridges (YOUR_ASSSIGNMENT_NUMBER, "YOUR_USER_ID",
"YOUR_API_KEY");
bridges.setTitle("A Singly Linked List Example");
bridges.setDescription("A singly linked list of 4 nodes with names; the nodes in this example use string as the generic type");
SLelement<string> *st0 = new SLelement<string> ("Gretel Chaney");
SLelement<string> *st1 = new SLelement<string> ("Lamont Kyler");
SLelement<string> *st2 = new SLelement<string> ("Gladys Serino");
SLelement<string> *st3 = new SLelement<string> ("Karol Soderman");
SLelement<string> *st4 = new SLelement<string> ("Starr McGinn");
st0->setLabel(st0->getValue());
st1->setLabel(st1->getValue());
st2->setLabel(st2->getValue());
st3->setLabel(st3->getValue());
st4->setLabel(st4->getValue());
st0->setNext(st1);
st1->setNext(st2);
st2->setNext(st3);
st3->setNext(st4);
bridges.setDataStructure(st0);
bridges.visualize();
delete st0;
delete st1;
delete st2;
delete st3;
delete st4;
}