Elementary classification of 2-d data points