Implemented ph::max_element.