Add Dataset#index.
Adda simple interface for percolation.