Put a switch statement (still incomplete)

switch statement now handles integer,real,or identifier in the
beginning.

Added some error codes

Much TODO.

Should the parser handle "value ranges" (e.g. 1..5, x..y)?