Diversity — generalization of metric spaces