Updating documentation and add getNeighbors method