Here, matrix is a list of lists
This function prints out all the distances between list1 and matrix_a but I am unsure how to get the k lowest distances from matrix_a