[algorithms] elementary symbol table implementations