two files were added

Two files added node.js and function.js 
node.js contain the node array
function.js contain the javascript function which are used in
view_graph.jsp