Followed Matthias recommendation to move charPredicate vals from parser class to companion object to avoid multiple allocations.

Added simple turtleWriter.