Dividing means for swimming pools