Add initial dictionary implementation

Yes, I've already written one of these in this little-things repo. But
I'm working through some of the exercises in the Algorithm Design
Manual, and the question came up again. So, here is a different
implementation.