Fixed bug in creating candidateNodeSubset
Added a static function that increments an id value every time a new RiverNode is created and assigns it as myId. Changed == operator to check against myId values.