added a remove method using the hibbard deletion algorithm