extrema/1, docs
extrema/1 tests