added methods for adding and deleting nodes
added methods for adding and deleting nodes
finished functionality for deleting nodes