print only on error
refactored Node class
Moved InvalidToken from sum_tree to scanner
Renamed 'NaN' to 'INVALID'. Stop constructing parse tree and report error when a INVALID token in seen.