Kleinberg add node

implemented adding nodes