Added isRef() function symbol.c and symbol.h.
Updated addDecl() function with an additional parameter to specify whether var is a reference.
Updated analyze.c to work with new addDelc().