clean up
add ParserException
experimenting with ParserException
add print primitive (for debugging purposes)