Working single-level SymbolTable.

Typedefs are correctly stored and resolved. To handle both the
function scopes and the (currently unimplemented) header scope
the parent links in the table need to be used, and a new resolve()
call should walk back up the chain.