Task: Return not found error codes when symbol doesn't exist

Fixes #5

Moved the check for symbol being string from createSymbol function to the
symbol handler.

Potential problem here: if other functions want to use createSymbol, they would
have to redefine this checking. Either:
- Move checking to its own function.
- Move all checking to create function.