Added delete function
Merge pull request #2 from Upsham/tomerge

Added delete function