added delete function
Merge pull request #28 from bencatalan/master

added delete function