implemented the techniques
added class neighborNode
Savepoint