Added user inputs for K number of nearest neighboors and the type of comparisson to do