Added a toString() method to the Post class for debugging.