A small improvement to the dictionary.

get now returns 0 if the dictionary does not return the key.