Checking each node has 2 connections