Added a way to see if a variable is defined in the parser. Attempted to fix passing arguments to the ham program (still broken)