Autotesting

Complete test scripts for the graph library
To add a new test, add a line to 'list' having the file name and the expected value it should deliver to stdout.