Created NNClassifer class. Works for arbitrary values of K and N.