Added constructors.
Made Nodes have generic content and edges connect  nodes of generic content.