Implemented deleting and error handling
Merge pull request #6 from sspread/Deleting

Implemented deleting and error handling