added neighbor.py and edited node.py