added nested module for dealing with nested dictionaries
revisions to nested dictionaries functions