added new method 'isEmpty' in class 'Set'
change function definingNeighbors()
the change of dependent objects