kNN should remember requested k.
If setK() asks for a k that is greater than the current number of neighbours, then k is set to the number of neighbours.
kNN should remember the number that the user requested so that k can be increased if new neighbours are added.