added graphing libraries and a test program