Two body combinations are done. K-nearest neighbours code has been commented