k-nearest neighbors algorithm with F#