basic setup
strips whitespace nodes effectively
basic prettyprint function seems to work