cleaned up deleting comments code
Merge pull request #61 from ngoel36/delete_comments

cleaned up deleting comments code