Modified to_string to an sexp friendly repr
Added a to_string method