Design of Sensor Based Walnut Cracking Device and By-Product Classification via K-Means