implement symbol table (#79)

This ended up being easier than I thought (or at least that's what I'm hoping)
I don't understand what "kind" is. Consider another name or at least a clarifying comment here.