modified delete and delete_recursive, though not working yet
added path tracking to nodes