added separate sorted dictionary interface and added k, v to insert for dictionaries. linked graph also partially implemented