Knn implemented.
TODO: faster distance computation! (todo: LSH)