added possibility of dragging nodes; cleaned up notebook