delete implemented

Implementation of delete