added comments, nit
added a delete operation, unit test