added diff.rb; utils.rb and addNodeSomewhere