Jim's warm up attempt at simple dictionary.

This one doesn't work - can you find what's wrong and fix it?

lookup[name_] := 
        Method[{}, 
Do[
If[  dictionary[[i]][[1]]  ==  
                  name,   Return[ dictionary[[i]][
                    2]]
, {i, 1, 
                  Length[dictionary]}
]];
];

dictionary = {{ 
            cat,  "meow"},  {dog, "ruff, ruff"}};
AppendTo[ dictionary,  {ant,  "sneaky bug"}];

dictionary

lookup[dog]