add function add_to_dictionary(key, val)