Added cons for # connections made by a node

The cons variable is used in the main file to keep track of the number of connections a node has made.