Class for jagged array

Jagged array class that holds the list of Nodes and the Nodes they are connected to.