updated parser to include exit, updated the h file too