implemented delete, added lookup method that accepts a visitor to the
found node