This is Ron Rivest's sexpre library with some formatting.