Implemented node removal. Updated node insertion to disallow insertion of duplicate nodes.