added exit, write, open not coded yet
added functions to parser.h