forgot to add the ngt test script
make graph a pointer in ngt
add new constructor for ngt
start to implement ngt phase 2
add a new test function