converted graphtest to es6 and added build script for es6 transpiling a file