fixed bug in hasNetwork that allowed two nodes in the goal zone