Added delete_post method to Post class