Emotion Classification Algorithm and Its Implementation on FPGA via VHDL