added deletemark

Wrote a deletemark() function to delete a bookmark. It isn't very neat but I hope it helps.