functions now working; stringification a bit prettier
a few more parsing and compilation tests and some improvements to error messages