test conditions errors added. Moved traverse func to util.c. Added helper funcs
got all return errors working, added hasReturn to nodes to push up through tree to a function wether or not it has a return